home *** CD-ROM | disk | FTP | other *** search
- Path: solaris.cc.vt.edu!not-for-mail
- From: bicknell@ussenterprise.ufp.org (Leo Bicknell)
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Re: Performance: C vs. C++
- Date: 28 Jan 1996 10:07:22 -0500
- Organization: From the bridge of the U.S.S. Enterprise, NCC-1701D
- Message-ID: <4eg3fa$k7q@ussenterprise.ufp.org>
- References: <30F6BAAC.12B5@iastate.edu> <4da9pn$a45@news.bridge.net> <4dnpl2$c8g@classic.iinet.com.au> <3105E9DC.1BE3@enermet.fi>
- Reply-To: bicknell@ufp.org
- NNTP-Posting-Host: ussenterprise.ufp.org
- NNTP-Posting-User: bicknell
-
- In article <3105E9DC.1BE3@enermet.fi>,
- Harri Halttunen <Harri.Halttunen@enermet.fi> wrote:
- >All that is true (at least in the some point of view), but we have to remember
- >that usually in real applications this kind of comparison doesn't matter. This
- >is because fetching something from a database or file takes many times longer
- >than, for example, a virtual function call or to handle an excepion. Or even
- >check a type of an object at runtime.
-
- Ah, the microsoft design attitude. It's ok if the program
- has to come on 12 CDROMs because the source is more readable. Not that
- I advocate it, but if all programs were written by really tallented
- assembly language programmers we could have all the functionality
- an speed of Windows 95 on a P90 with a 386/25.
-
- I recently ran into this here with a little server application.
- It was rewritten in C++ to add some features over the C version, and
- to make it easier to maintain. Now people are noticing that when this
- program is being run 30 times a second on our server the little
- extra overhead in both memory usage and processor time add up quickly.
-
- It all makes a difference, a big on.
-
- --
- Leo Bicknell - TMBG List Admin - tmbg-list-request@tmbg.org
- System Administrator / Network Technician
- bicknell@ufp.org - bicknell@vt.edu - bicknell@tmbg.org
-